
CFLAGS = -Wall -pedantic -g -I$(HOME)/bin/opt/include
CC     = gcc
LFLAGS = -g -L$(HOME)/bin/opt/lib -lgmp
LINKER = gcc


all: c-gmp

c-gmp: main.o
	$(LINKER) $(LFLAGS) main.o -o c-gmp

main.o: main.c
	$(CC) $(CFLAGS) -c main.c -o main.o

clean:
	rm -vf main.o c-gmp